/**
 * 
 */
package com.china08.yxyapi.entity.mg.homework;

import javax.persistence.Id;

import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import com.china08.yxyapi.entity.mg.MongoBaseEntityNoId;

/**
 * The Class HomeworkQuesGroup.
 *
 * @author Richard Wang 试题组
 */
@Document(collection = "yxy.tea.homework.ques.group")
public class HomeworkQuesGroup extends MongoBaseEntityNoId {

    /**
     * 
     */
    private static final long serialVersionUID = 8176129497010258550L;

    /** 主键 */
    @Id
    private String id;

    /** 组名称 */
    @Field(value = "group_name")
    private String groupName;

    /** The teacher id. 教师id */
    @Indexed
    @Field(value = "teacher_id")
    private String teacherId;

    /** The school id.学校id */
    @Field(value = "school_id")
    private String schoolId;

    /** 学段 */
    @Field(value = "stage")
    private String stage;

    /** 学科 */
    @Field(value = "subject")
    private String subject;

    /** 试题数量 */
    @Field(value = "ques_count")
    private Integer quesCount = 0;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(String teacherId) {
        this.teacherId = teacherId;
    }

    public String getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(String schoolId) {
        this.schoolId = schoolId;
    }

    public String getStage() {
        return stage;
    }

    public void setStage(String stage) {
        this.stage = stage;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public Integer getQuesCount() {
        return quesCount;
    }

    public void setQuesCount(Integer quesCount) {
        this.quesCount = quesCount;
    }

}
